<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Title</title>
    <script src="js/vue.js"></script>
</head>
<body>
<div id="app">
    {{msg.split('').reverse().join('')}}
</div>
<script>
    var vm =new Vue({
        el:'#app',
        data:{
            msg:'hello'
        },
        // beforeCreate(){
        //     console.log(this.$data.msg)
        // }
    })
</script>
</body>
</html>
